<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8"/>
    <title>超市订单后台管理管理系统</title>
    <meta name="author" content="DeathGhost" />
    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <!--[if lt IE 9]>
    <script src="/js/html5.js"></script>
    <![endif]-->
    <script src="/js/jquery.js"></script>
    <script src="/js/jquery.mCustomScrollbar.concat.min.js"></script>

</head>
<div th:fragment="header">
<!--header-->
<header>
    <h1><img src="/images/admin_logo.png"/></h1>
    <ul class="rt_nav">
        <li><a th:href="@{/user/toMod(id=${session.userinfo.id})}" class="set_icon">账号设置</a></li>
        <li><a th:href="@{/user/logout}" class="quit_icon">安全退出</a></li>
    </ul>
</header>
<!--aside nav-->
<!--aside nav-->
<aside class="lt_aside_nav content mCustomScrollbar">
    <h2><a th:href="@{/toIndex}">起始页</a></h2>
    <ul>
        <li>
            <dl shiro:hasAllPermissions="admin">
                <dt>用户管理(仅管理员)</dt>
                <dd><a th:href="@{/user/findAllByPage}" class="active">用户列表</a></dd>
                <dd><a th:href="@{/user/find_all_ban}"class="active">禁用用户列表</a></dd>
                <dd><a th:href="@{/sendToAdd}" class="active">添加用户</a></dd>

            </dl>
        </li>
        <li>
            <dl shiro:hasAllPermissions="admin">
            <dt>角色管理(仅管理员)</dt>
                <dd><a th:href="@{/user/find_all_role}"class="active">角色列表</a></dd>
                <dd><a th:href="@{/addRole}"class="active">角色添加</a></dd>
            </dl>
        </li>
        <li>
            <dl shiro:hasAllPermissions="admin">
            <dt>功能管理(仅管理员)</dt>
                <dd><a th:href="@{/user/find_all_perm}" class="active">功能列表</a></dd>
                <dd><a th:href="@{/perm_add}" class="active">增加功能</a></dd>
            </dl>
        </li>
        <li>
            <dl shiro:hasAllPermissions="user">
            <dt>全部功能</dt>
                <dd><a th:href="@{/mail}" class="active">发送邮件</a></dd>
                <dd><a th:href="@{/sendToChange}" class="active">修改密码</a></dd>
            </dl>
        </li>


        <li>
            <p class="btm_infor">© 18数科2</p>
        </li>
    </ul>
</aside>
    <section class="rt_wrap content mCustomScrollbar">


</html>
